import tkinter 
from tkinter import *
import pygame


def exit():
    sys.exit()


def project():
    if __name__ == "__main__":
        game = PlaneGame()
        game.star_game()



def window2():
    window2 = tkinter.Tk()
    window2.title("小组成员")
    window2.geometry("1200x200")
    lbl = Label(window2, text="小组成员:冯逸舟18060314107，陈泽灏18060314105，陈惠峰18060314103，陈再铨18060314104，高文豪18060314108。", font=('', '15', ''), width=150, height=10)
    lbl.pack()

window = tkinter.Tk()
canvas = tkinter.Canvas(window, width=900, height=600, bd=0).pack()
window.title("Python编程作业")
filename = PhotoImage("./作业.png")
background_label = Label(window)
background_label.place(x=0, y=0, anchor=NW)
result = StringVar()
entry = Entry(window, background="yellow", justify="center", textvariable=result, font=('', '40', ''))
entry.place(x=200, y=100, width=500, height=90)
result.set("18060314信抗作业")
def draw():import draw.py

bt2 = Button(window, text="关于", width="8", height="1", font=('', '26', ''), command = window2).place(x=600, y=330)
bt3 = Button(window, text="运行", width="8", height="1", font=('', '26', ''), command = draw).place(x=160, y=330)




window.mainloop()
